<div class="main-hd">
    <div class="tab-navs-panel">
        <table class="table-wrap">
            <tr>
                <td style="width:300px;background: #fff;min-height: 640px;vertical-align: top;">
                    <div class="leftMenu clearfix">
                        <nav>
                            <ul id="menuTree" class="ztree"></ul>
                        </nav>
                    </div>
                </td>
                <td style="width: 80%;padding-left: 15px;vertical-align: top;">
                    <div id="menuNav">
                        <div ng-include="defaultModeul"></div>
                    </div>
                    <div id="menuList">
	                    <div class="div-top">
							<span style="font-size: 20px;float:left;">菜单按钮设置</span>
						    <div style="float:right;">
						        <button ng-repeat="but in buttons" ng-click="clickBtn(but.event)" class="btn btn-{{but.style}}"><i class="iconfont {{but.img}}"></i>{{but.name}}</button>
						    	<div class="main-hd">
		                            <div class="tright nodeOperate1">
		                                <button type="button" class="btn btn-success" ng-click="add()"><i class="iconfont icon-add"></i> 新增</button>
		                            </div>
		                            <div class="tright nodeOperate2" style="display:none;">
		                                <button type="button" class="btn btn-primary" ng-click="addSameNode()"><i class="iconfont icon-add"></i> 同级节点</button>
		                                <button type="button" class="btn btn-primary" ng-click="addChildrenNode()"><i class="iconfont icon-add"></i> 子节点</button>
		                                <button type="button" class="btn btn-success" ng-click="moveUp()"><i class="iconfont icon-moveup"></i> 上移</button>
		                                <button type="button" class="btn btn-success" ng-click="moveDown()"><i class="iconfont icon-movedown"></i> 下移</button>
		                                <button type="button" class="btn btn-warning" ng-click="edit()"><i class="iconfont icon-update"></i> 修改</button>
		                                <button type="button" class="btn btn-danger" ng-click="remove()"><i class="iconfont icon-delete"></i> 删除</button>
		                            </div>
		                        </div>
						    </div>
						</div>
	                    <div class="div-table">
							<table class="table table-hover table-bordered">
                                 <thead>
                                     <tr>
                                         <th class="table-th-checkbox">
                                             <div class="check-box">
                                                 <input type="checkbox" disabled id="allCheck" />
                                                 <label for="allCheck"></label>
                                             </div>
                                         </th>
                                         <th>菜单</th>
                                         <th>父级菜单</th>
                                         <th>路径</th>
                                     </tr>
                                 </thead>
                                 <tbody ng-switch on="page.current_num">
                                     <tr ng-switch-when="0">
                                         <td colspan="100">
                                             <div class="NoSelectHistory">查询无记录</div>
                                         </td>
                                     </tr>
                                     <tr ng-repeat="data in dataList">
                                         <td>
                                             <div class="check-box">
                                                 <input type="checkbox" disabled id="{{data.id}}" name="dataPk" value="{{data.id}}" />
                                                 <label for="{{data.id}}"></label>
                                             </div>
                                         </td>
                                         <td>{{data.name}}</td>
                                         <td>{{data.father_name}}</td>
                                         <td>{{data.path}}</td>
                                     </tr>
                                 </tbody>
                             </table>
                            </div>
                            <div ng-include="'plugin/frame/3.0.1/html/page.html'" class="div-page pageWrap" ></div>
                            <div class="btnWrap" style="display: none;margin-top: 15px;">
                                <h4>按钮设置 <a href="" ng-click="addButton()"><i class="iconfont icon-add"></i></a></h4>
                                <div style="margin-top:15px;">
                                    <div class="div-table">
                                        <table class="table table-hover table-bordered">
                                            <thead>
                                                <tr>
                                                    <th>序号</th>
                                                    <th>名称</th>
                                                    <th>样式</th>
                                                    <th>图标</th>
                                                    <th>事件</th>
                                                    <th>操作</th>
                                                </tr>
                                            </thead>
                                            <tbody>
                                                <tr ng-if="buttonList.length <= 0">
                                                    <td colspan="100">
                                                        <div class="NoSelectHistory">查询无记录</div>
                                                    </td>
                                                </tr>
                                                <tr ng-repeat="data in buttonList">
                                                    <td>{{data.order_no}}</td>
                                                    <td>{{data.name}}</td>
                                                    <td>{{data.style}}</td>
                                                    <td>{{data.img}}</td>
                                                    <td>{{data.event}}</td>
                                                    <td>
                                                        <a href="" ng-click="updateButton(data)" class="btn-link"><i class="iconfont icon-update"></i> 修改</a>
                                                    </td>
                                                </tr>
                                            </tbody>
                                        </table>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </td>
            </tr>
        </table>
    </div>
</div>